clear all;
clc;

inputTrainFile = 'train-images.idx3-ubyte';
labelTrainFile = 'train-labels.idx1-ubyte';
inputTestFile = 't10k-images.idx3-ubyte';
labelTestFile = 't10k-labels.idx1-ubyte';

%[xL,yL] = loadMNIST(inputTrainFile,labelTrainFile);
[xU,yU] = loadMNIST(inputTestFile,labelTestFile);

nc = length(unique(yL)); % number of classes
nd = size(xL,1); % number of dimensions
nL = length(yL); % number of labeled examples
nU = length(yU); % number of unlabeled examples